package entity

import ()

type UserBikeSetting struct {
	Id int64 `gorm:"column:id;type:BIGINT;primary_key" json:"id"`

	UserId int64 `gorm:"column:user_id;type:BIGINT" json:"user_id"`

	EbikeId int64 `gorm:"column:ebike_id;type:BIGINT" json:"ebike_id"`

	EbikeImage string `gorm:"column:ebike_image;type:VARCHAR(255)" json:"ebike_image"`

	EbikeName string `gorm:"column:ebike_name;type:VARCHAR(255)" json:"ebike_name"`

	CreatedAt int64 `gorm:"column:created_at;type:BIGINT" json:"created_at"`

	UpdatedAt int64 `gorm:"column:updated_at;type:BIGINT" json:"updated_at"`
}

func (a *UserBikeSetting) TableName() string {
	return "user_bike_settings"
}
